let mutations = {
    addCart(state,data){
        console.log("mutations");
        console.log(state);
        state.cartList.push(data);
    },
    delCart(state,data){
        state.cartList = data;
    }
}
export default mutations;